errno.00 is:success errno.01 is:operation not permitted errno.02 is:no such file or directory errno.03 is:no such proc ESS errno.04 is:interrupted system call errno.05 is:input/output error errno.06 is:no such device or address errno.07 I
S:argument
1 ssl:certificate subject name ' Wmsvc-gwamserver02 ' does not match target host namePut curl_setopt ($ch, Curlopt_ssl_verifyhost, false);2 Curl ERROR:SSL Certificate problem:self signed certificate in CertificatThis is curlopt_ssl_verifyhost set to
/usr/include/asm-generic/errno-base.h
/usr/include/asm-generic/errno.h
You can obtain an error description using the following procedure:
Strerror (errno): Get errno corresponding error
/**************************** Get error code description ****
Errno. H --
Query
Checking the error code errno is an important way to debug the program. When the linuc c api function is abnormal, The errno variable (including
Errno. h) assign an integer. Different values indicate different meanings. You can
1, using a small program output all the errno corresponding error string, the code is as follows#include void ShowError (int err){printf ("errno:%5d, Error:%s\n", err, strerror (err));}void Showallerr (){int i = 0;for (; i {ShowError (i);}}int main (
strerror (int error): For printing error
errno.00 is:success errno.01 is:operation not permittederrno.02 is:no such file or directoryerrno.03 Is:no Such processerrno.04 is:interrupted System callerrno.05 is:input/output Errorerrno.06 Is:no such
#include
#include
#include
int main (int argc, char * * argv)
{
int i = 0;
for (i = 0; i {
printf ("errno.%0 2d is:%s\n ", I, strerror (i));
}
return 0;
}
errno.00 is:successerrno.01 Is:operation not permittederrno.02 is:no such file or
The errno definition in Linux. In the header file # include
124 emediumtype wrong medium type
123 enomedium no medium found
122 edquot Disk Quota exceeded
121 eremoteio remote I/O Error
120 eisnam is a named type file
119 enavail no XENIX
Exception Handling in Ruby
Ruby predefines common exception types, as shown in:
All Exception classes are derived from the base class Exception, which is similar to Java, C #, and Python.
Ruby special point-when an exception occurs, ruby will put
Incorrect path Leakage 1. cause: When PHP encounters an error, it will give the location, number of rows, and cause of the error script, for example: Notice: Use of undefined constant test-assumed ''test'' in D: interpubbigflytest. php on line 3
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.